package cn.cool.service;

import cn.cool.entity.UserLikeArticle;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiuH
 * @since 2021-01-23
 */
public interface UserLikeArticleService extends IService<UserLikeArticle> {

    void setUserLike(HttpServletRequest request,Integer artId);

    int saveArtLikeRedisToDB();

    void clearCache();

}
